<%-- 
    Document   : updateUser
    Created on : , 17:08:43
    Author     : ccp <568093091@qq.com>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="front/css/home-page.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/modify.css"/>
        <script src="front/js/jquery-1.11.2.js"></script>
        <script src="front/js/home-page.js"></script>
        <title>信息修改</title>
    </head>
    <body class="all-page modify-page">
        <jsp:include page="head.jsp"></jsp:include>
        <div class="modify-panel">
            <p class="title">${user.userName}信息修改</p>
            <form:form method="post" action="updateUser" modelAttribute="user">
                <form:hidden path="id" />
                <label for="user-id" class="for-user-id">学号</label>
                <form:input  path="stuNum" type="text" readonly="true" id="user_id"/>
                <label for="user-name" class="for-user-name">姓名</label>
                <form:input  path="userName" type="text" readonly="true" id="user-name"/>
                <label for="sex" class="for-sex">性别</label>
                <form:select id="sex" path="gender">
                    <form:option value="1" >男</form:option>
                    <form:option value="0">女</form:option>
                </form:select>
                <label for="userGrade" class="for-major">班级</label>
                <form:input path="userGrade" type="text" id="userGrade"/>

                <label for="address" class="for-university">住址</label>
                <form:input  path="address" type="text" d="address"/>

                <label for="email" class="for-email">Email</label>
                <form:input  path="email" type="text" id="email"/>

                <label for="tel" class="for-qq">联系电话</label>
                <form:input  path="tel" type="text" id="tel"/>

                <label for="gitAccount" class="for-address">git账号</label>
                <form:input  path="gitAccount" type="text" id="gitAccount"/>

                <div class="button">
                    <button type="submit" class="submit">保存</button>
                    <button type="reset" class="reset">重置</button>
                </div>

            </form:form>

        </div>
    </body>
</html>
